#pragma once

#include "Entity.h"
#include <string>
#include "ParticleManager.h"

class Projectiles : public Entity
{
public:
	Projectiles();
	virtual ~Projectiles();

	//Accessors
	Entity* GetOwner() const { return owner; }
	virtual int GetType() const { return ENT_PROJECTILE; }

	//Mutators
	void SetOwner(Entity* o);

	//Interface
	virtual void Update(float elapsedTime);
	virtual void Render(void);
	virtual void HandleCollision(const IEntity* other);
protected:
	std::string emitter;
	int activeemitter;
private:
	Entity* owner = nullptr;
};

